package com.ruoyi.common.enums;

import java.util.Arrays;
import java.util.List;

/**
 * 用户状态
 * 
 * @author ruoyi
 */
public enum TeamEnums
{
    TEAM1("user_ask_rate1", 1,"一级团"),TEAM2("user_ask_rate2",2, "二级团"),TEAM3("user_ask_rate3", 3,"三级团"),;

    private final String code;
    private final Integer level;

    private final String info;

    TeamEnums(String code,Integer level, String info)
    {
        this.code = code;
        this.info = info;
        this.level = level;
    }

    public String getCode()
    {
        return code;
    }
    public Integer getLevel()
    {
        return level;
    }

    public String getInfo()
    {
        return info;
    }

    public static List<TeamEnums> getTeamCode(){
        return Arrays.asList(TEAM1,TEAM2,TEAM3);
    }
}
